The Dreamweaver JavaScript API > Window functions > dreamweaver.setSnapDistance()

 

dreamweaver.setSnapDistance()

Availability

Dreamweaver 4.0

Description

Sets the snapping distance in pixels (0 to turn it off; default is 10 pixels)

Arguments

snapDistance

snapDistance is an integer representing the snapping distance in pixels. The default is 10 pixels. Specify 0 to turn the Snap feature off.

Returns

Nothing.